<?php
/**
 * 工资汇总验证器
 */

namespace app\common\validate;

class SalaryTotalDatasValidate extends Validate
{
    protected $rule = [
            'department_id|部门id' => 'require',
    'salary_time|工资日期' => 'require',
    'status|是否启用' => 'require',

    ];

    protected $message = [
            'department_id.require' => '部门id不能为空',
    'salary_time.require' => '工资日期不能为空',
    'status.require' => '是否启用不能为空',

    ];

    protected $scene = [
        'add'  => ['department_id','salary_time','status',],
'edit' => ['department_id','salary_time','status',],

    ];

    

}
